package com.openbravo.bean.erp.subject;

import java.util.Date;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;

import com.openbravo.bean.infobean.CustomerInfo;
import com.openbravo.bean.ref.I_RefCustomer;

public class SubjectCustomer implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey,I_RefCustomer{
	/**
	 * 
	 */
	private static final long serialVersionUID = 481633462512853130L;
	private String id;
	private String subjectId;
    private String customerID;
    private CustomerInfo customer;
    private Date lastModified;
    
    @Override
	public Date getLastModified() {
		
		return lastModified;
	}
	@Override
	public void setLastModified(Date lastModified) {
		this.lastModified=lastModified;
	}
	
	@Override
	public void setKey(String key) {
		this.id=key;
	}
	@Override
	public String getKey() {
		return id;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}
	public String getCustomerID() {
		return customerID;
	}
	public void setCustomerID(String customerID) {
		this.customerID = customerID;
	}
	public CustomerInfo getCustomer() {
		return customer;
	}
	public void setCustomer(CustomerInfo customer) {
		this.customer = customer;
	}
	@Override
	public void setCustomerId(String customerId) {
		this.customerID = customerID;
	}
	
}
